package res_sys

import "go_web/internal/model/model_sys"

type PermissionRes struct {
	ID         int64  `form:"id" json:"id"`
	Path       string `form:"path" json:"path"`
	Name       string `form:"name" json:"name"`
	Permission string `form:"permission" json:"permission"`
	ParentID   int64  `form:"parentID" json:"parentID"`
}
type SysRouteRes struct {
	Children       []*SysRouteRes   `json:"children"`
	PermissionList []*PermissionRes `json:"permissionList"`
	model_sys.SysRoute
}
